package com.ssy.lingxi.platform.manage.model.request.content;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 资讯管理 - 收藏/取消收藏 - 请求实体类
 * @author fhj
 * @version 2.0.0
 * @date 2020/9/24
 */
@Data
public class CollectRequest {

    @ApiModelProperty(value = "自营商城地址")
    private String url;

    @ApiModelProperty(value = "资讯ID")
    @NotNull(message = "资讯ID不能为空")
    private Long informationId;

    @ApiModelProperty(value = "收藏状态: true-收藏 false-取消收藏")
    @NotNull(message = "收藏状态不能为空")
    private Boolean status;

    @ApiModelProperty(value = "自营商城会员Id")
   // @NotNull(message = "memberId不能为空")
    private Long memberId;

    @ApiModelProperty(value = "自营商城会员角色Id")
  //  @NotNull(message = "roleId不能为空")
    private Long roleId;

}
